package com.dingreading.cloud.soms.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.util.Date;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 学科管理表 实体类。
 *
 * @author Administrator
 * @since 2025-11-03
 */
@Data
@Table(value = "subjects", dataSource = "ds3")
public class MstSubjects implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @Column(onInsertValue = "now()")
    private Date addTime;

    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    private Integer enabled;

    private Integer lessonNum;

    private Integer levelEnd;

    private Integer levelIndex;

    private Long parentId;

    private Integer showOrder;

    private String subjectDescribe;

    private Long subjectMainId;

    private String subjectName;

    private Integer subjectOrder;

    private String nodes;

    private String addStaffUid;

    private String addStaffName;

    private String lastStaffUid;

    private String lastStaffName;

    private Integer drainageStatus;

    private String uid;

}
